package cn.zh.planmanager.infrastructure.entity;

import cn.zh.planmanager.infrastructure.common.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author zh
 */
@Data
@TableName("t_plan")
public class PlanEntity extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 工作内容
     */
    private String workContent;

    private Integer planSetId;

    private String projectName;

    private String projectContent;

    /**
     * 开始时间
     */
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    private LocalDateTime endTime;


}
